Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Java and XPages
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Functionality
Platform: Windows XP client
Release: 8.5
Reproducible: Always

I am following the guide in the Designer Wiki for adding custom java to XPages. Basically, swap to Java perspective, add to Webcontent/WEB_INF.

One serious problem. Once you have loaded the page, the java remains cached in memory for ever. You can delete the JAR and the xpage will continue to run the now non-existant code. If you update the JAR the old code will continue to run.

I have tried using Clean, Rebuild etc. But apart from restarting the server, there is no way to update the code.

Obviously restarting the server after every edit makes this pretty much useless.

I need to use Java as the code is too complicated to consider using Javascript, and the XPage javascript editor is really not much more than Notepad.

Has anyone found a way to make the server refresh the XPage java?

Cheers

Simon


Feedback number WEBB7RBVNY created by ~George Chugeroveroden on 04/21/2009

Status: Open
Comments:

Java and XPages (~George Chugero... 21.Apr.09)
. . restart http (~Kirk Frofoovit... 22.Apr.09)
. . Where is you jar file? (~Tony Rekromane... 22.Apr.09)
. . . . Where is the JAR (~George Chugero... 23.Apr.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS